package com.wnm.web;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.wnm.service.impl.OrderServiceImpl;

@WebServlet("/updateServlet")
public class UpdateServlet extends HttpServlet{
	@Override
	protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		
		this.doPost(request, response);
	}
	@Override
	protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		System.out.println("修改数据库");
		OrderServiceImpl orderService = new OrderServiceImpl();
		String orderno = request.getParameter("orderno");
		System.out.println(orderno);
//		orderService.updateStatusByorderid();
	}

}
